<%@page import="calendar.CalendarMyba"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%request.setCharacterEncoding("utf-8"); %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<jsp:useBean id="cv" class="calendar.CalendarVo" />
	<jsp:setProperty property="*" name="cv"/>
	<%
		CalendarMyba sql = new CalendarMyba();
		sql.setCv(cv);
		int flag = sql.update();
		if(flag>0) out.println("<h1>수정 성공</h1>");
		else out.println("<h1>수정 실패</h1>");
	%>
	<input type="button" value="목록" onclick="location.href='${pageContext.request.contextPath}/homepage/index.jsp?inc_content=./calendar/calendar_list.jsp'">
</body>
</html>